package com.lagou.mapper;

import com.lagou.pojo.Role;

import java.util.List;

//@CacheNamespace(implementation = PerpetualCache.class) // 开启MyBatis二级缓存
public interface RoleMapper {

    List<Role> findAll();

    Role findByCondition(Integer id);
}
